#
# Be sure to run `pod lib lint Cooper_Table.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'Cooper_Table'
    s.version          = '1.0.26'
    s.summary          = '基于iOS10的CooperSDK Table 基础应用'
    
    # This description is used to gen tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!
    
    s.description      = <<-DESC
    TODO: Add long description of the pod here.
    DESC
    
    s.homepage         = 'https://gitee.com/appkf_admin'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'jhfkf' => 'jhfappkf@163.com' }
    s.source           = { :git => 'https://gitee.com/appkf_admin/Cooper_Table.git', :tag => "#{s.version}" }
#    s.source           = { :git => 'https://gitee.com/appkf_admin/Cooper_Table.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    
    s.ios.deployment_target = '11.0'
    
#    s.source_files =  "Cooper_Table", 'Cooper_Table/Classes/**/*.{h,m}'
#    s.resource     =  'Cooper_Table/Assets/*'
    
    s.source_files =  "Cooper_Table", 'Cooper_Table/Classes/**/*.{h,m}'

    s.resource_bundles = {
        'Cooper_Table' => ['Cooper_Table/Assets/*', 'Cooper_Table/Classes/**/*.{xib}']
    }
    
    s.dependency 'CooperSDK' #, '1.0.14'
    
    s.dependency 'ReactiveObjC' # , '~> 3.1.1'
    s.dependency 'KVOMutableArray/ReactiveCocoaSupport'
    
    s.dependency 'TZImagePickerController'                      # 图片选择工具
    s.dependency 'TZImagePreviewController'                     # 图片预览工具
    s.dependency 'RSKImageCropper'                              # 图片剪辑
    s.dependency 'RSKImageCropper'                              # 图片剪辑
    s.dependency 'XXNibBridge'     # , :git => 'https://github.com/sunnyxx/XXNibBridge.git'
    
    # s.public_header_files = 'Pod/Classes/**/*.h'
    # s.frameworks = 'UIKit', 'MapKit'
    # s.dependency 'AFNetworking', '~> 2.3'
    s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
    s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
    
end
